<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script type="text/javascript">
	 var kk=10;
	 var ll=20;
	 function hjc (kk,ll) {
	 	var yy=kk+ll;
	 	return yy;
	 }


	 a=hjc(kk,ll);
	 alert(a);


	 var hjc=[123123,123123,123123];
	 var num =0;
	 for (var i = 0; i < hjc.length; i++) {
	 	num +=hjc[i];
	 };

	 alert(num);

	</script>
</head>
<body>
	
</body>
</html>